package com.mvc.dao.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.mvc.model.healthmanager.archive.BloodPressure;
/**
 * 血压数据DAO
 * @author hejie
 */
public interface BloodPressureDao {
	public List<BloodPressure> getBloodPressure(@Param(value="bPressure") BloodPressure bPressure);
	
	public List<BloodPressure> getMaxBloodPressure(@Param(value="bPressure") BloodPressure bPressure);
	
	/**
	 * 获取最新的血压，根据个人id
	 * @author qingjie
	 * @param bPressure
	 * @return
	 * Date:2015-11-14
	 */
	public List<BloodPressure> getNewBloodPressure(@Param(value="personId") String personId);
	
	/**
	 * 获取json数据，根据个人id
	 * @author qingjie
	 * @param bPressure
	 * @return
	 * Date:2015-11-15
	 */
	public List<BloodPressure> getJsonData(@Param(value="personId") String personId);
	
}
